﻿@model TopArtFinalProject.Models.Song

@{
    ViewBag.Title = "Create";
}

<h2>Create</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Song</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.UserName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.UserName)
            @Html.ValidationMessageFor(model => model.UserName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Title)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Title)
            @Html.ValidationMessageFor(model => model.Title)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Artist)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Artist)
            @Html.ValidationMessageFor(model => model.Artist)
        </div>

       
       

        <div class="editor-label">
            @Html.LabelFor(model => model.Album)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Album)
            @Html.ValidationMessageFor(model => model.Album)
        </div>

     

        <div class="editor-label">
            @Html.LabelFor(model => model.Genre)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Genre)
            @Html.ValidationMessageFor(model => model.Genre)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ImagePath)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ImagePath)
            @Html.ValidationMessageFor(model => model.ImagePath)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ReleseDate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ReleseDate)
            @Html.ValidationMessageFor(model => model.ReleseDate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.FacebookLink)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FacebookLink)
            @Html.ValidationMessageFor(model => model.FacebookLink)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TwitterLink)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TwitterLink)
            @Html.ValidationMessageFor(model => model.TwitterLink)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.VideoLink)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.VideoLink)
            @Html.ValidationMessageFor(model => model.VideoLink)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.YoutubeChannel)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.YoutubeChannel)
            @Html.ValidationMessageFor(model => model.YoutubeChannel)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.GooglePlus)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.GooglePlus)
            @Html.ValidationMessageFor(model => model.GooglePlus)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.EmbededData)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.EmbededData)
            @Html.ValidationMessageFor(model => model.EmbededData)
        </div>

        
        @{
           /*// Model.RatingID = 0;
            Model.FiveStars = 5;
            Model.FourStars = 4;
            Model.ThreeStars = 3;
            Model.TwoStars = 2;
            Model.OneStars = 11;
            Model.TotalStars = 0;
            Model.AvgStars = 0;
            Model.FeatureValue1 = "";
            Model.FeatureValue2 = "";
            Model.FeatureValue3 = "";
            Model.ReviewID = 0;
            Model.AlbumID = 0;
            Model.ArtistID = 0;
           // Model.UserName = User.Identity.Name.ToString();*/
    
        }
        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
